// 云函数入口文件
const cloud = require('wx-server-sdk')

cloud.init({
    env: "yiliaojiufeng-6gt0kj1l1df8b7b7",
    traceUser: true,
})

var rp = require('request-promise')

// 云函数入口函数
exports.main = async (event, context) => {
    return await rp({
      url: 'https://diqu.gezhong.vip/api.php',
      method: 'GET',
      json: true
    })
}